set ROOTDIR=%~dp0
set SEVENZIPDIR=_Prerequisites\7zip
set MONGOBINARIESDIRECTORY=_Prerequisites\mongoDB
set MONGOZIPARCHIVE=mongodb.7z
set MONGOINSTALLDIR=C:\MONGODB

net stop "Mongo DB"

PING 127.0.0.1 -n 1 -w 5000 >NUL

cd %MONGOINSTALLDIR%\bin
mongod.exe --remove >> nul

PING 127.0.0.1 -n 1 -w 5000 >NUL


RMDIR C:\DATA /s /q
RMDIR %MONGOINSTALLDIR%\bin /s /q
RMDIR %MONGOINSTALLDIR% /s /q

cd %ROOTDIR%
